<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

</head>
<body>
 <script>
     for(var i=100;i<1000;i++){
      var bai =parseInt(i/100);
      var shi =parseInt(i/10)%10;
      var ge =parseInt(i%10);

      if(bai*bai*bai+shi*shi*shi+ge*ge*ge == i){
          document.write(i+".");
       }
     }
 </script>
</body>
</html>